/**
 * Created by daniel on 2016/1/20.
 */
$(function () {
        $(".color-picker").bigColorpicker(function (el, color) {
            $(el).css("backgroundColor", color);
            $(el).val(color);
        });
    }
)